import axios from "./axios";

export const myaddressAdd = (data) => {
  return axios({
    method: "post",
    url: "/myaddress",
    data,
  });
};
export const myaddressQuery = (params) => {
  return axios({
    method: "get",
    url: "/myaddress",
    params,
  });
};
export const myaddressUpdate = (id, data) => {
  return axios({
    method: "patch",
    url: "/myaddress/" + id,
    data,
  });
};
